define({ "api": [
  {
    "type": "POST",
    "url": "api/sessions/addInfo",
    "title": "新增场次信息",
    "name": "新增场次信息",
    "group": "Session",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "startTime",
            "description": "<p>开始时间</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "endTime",
            "description": "<p>结束时间</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "allNum",
            "description": "<p>总人数</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "timeId",
            "description": "<p>时间ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date",
            "description": "<p>预约日期</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "参数:",
          "content": "{\n    startTime : \"12:02\",\n    endTime : \"14:32\",\n    allNum : 66,\n    timeId : 19,\n    date : \"2020/11/26\"\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "{\n \"msg\" : 成功添加场次\n}",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/sessionsRouter.js",
    "groupTitle": "Session"
  },
  {
    "type": "GET",
    "url": "api/sessions/getInfo",
    "title": "获取场次信息",
    "name": "获取场次信息",
    "group": "Session",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "timeId",
            "description": "<p>时间ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "参数:",
          "content": "{\n    timeId : 16,\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "成功返回:",
          "content": "[\n            {\n            end_time: \"1606372320000\"\n            id: 16\n            is_appointment: 1\n            start_time: \"1606363320000\"\n            }\n]",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/sessionsRouter.js",
    "groupTitle": "Session"
  },
  {
    "type": "POST",
    "url": "api/time/addInfo",
    "title": "新增时间",
    "name": "新增时间",
    "group": "Time",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "date",
            "description": "<p>场次时间</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n     date : \"2020-11-29\"\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    {\n         msg: \"成功添加场次时间\"\n    }\n}",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/timeRouter.js",
    "groupTitle": "Time"
  },
  {
    "type": "GET",
    "url": "api/time/getInfo",
    "title": "获取时间",
    "name": "获取时间",
    "group": "Time",
    "version": "1.0.0",
    "parameter": {
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n     \n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n     {\n                \"id\": 8,\n                \"time\": \"1606348800000\"\n            }\n}",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/timeRouter.js",
    "groupTitle": "Time"
  },
  {
    "type": "POST",
    "url": "api/user/register",
    "title": "用户注册",
    "name": "用户注册",
    "group": "User",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": "<p>手机号码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "idcard",
            "description": "<p>身份证号码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    name : \"bobo\",\n    phone:\"15102068480\",\n    idcard:\"440809200005206897\"\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"msg\": \"成功注册\"\n}",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/userRouter.js",
    "groupTitle": "User"
  },
  {
    "type": "GET",
    "url": "api/user/getUserInfo",
    "title": "用户登录",
    "name": "用户登录",
    "group": "User",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "phone",
            "description": "<p>手机号码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "idcard",
            "description": "<p>身份证号码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    name : \"bobo\",\n    phone:\"15102068480\",\n    idcard:\"440809200005206897\"\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "[\n    {\n        \"is_appointment\": 0,\n        \"name\": \"melon\",\n        \"qrcode\": null,\n        \"sessions_id\": null,\n        \"sessions_time\": null,\n        \"token\": \"00ffc126cd17818735513f77f8ba907d1606271634424\"\n    }\n]",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/userRouter.js",
    "groupTitle": "User"
  },
  {
    "type": "PUT",
    "url": "api/appointment/updateInfo",
    "title": "修改预约信息",
    "name": "修改预约信息",
    "group": "appointment",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>token值</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    token:\"c356034e43e65119b5b937654cedfe7a1604916889014\"\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    msg: \"修改成功\";\n}",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/sessionsRouter.js",
    "groupTitle": "appointment"
  },
  {
    "type": "DELETE",
    "url": "api/appointment/delInfo",
    "title": "取消预约信息",
    "name": "取消预约信息",
    "group": "appointment",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>token值</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    token:\"c356034e43e65119b5b937654cedfe7a1604916889014\"\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    msg: \"成功取消预约\";\n}",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/appointmentRouter.js",
    "groupTitle": "appointment"
  },
  {
    "type": "POST",
    "url": "api/appointment/addInfo",
    "title": "添加预约信息",
    "name": "添加预约信息",
    "group": "appointment",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "sessionsId",
            "description": "<p>sessionsID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "sessionsTime",
            "description": "<p>sessionsTime</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>token</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    sessionsId : '11',\n    sessionsTime : '1605070800000',\n    token : '123456789123456789'\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    msg : \"成功新增预约\";\n}",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/appointmentRouter.js",
    "groupTitle": "appointment"
  },
  {
    "type": "GET",
    "url": "api/appointment/getInfo",
    "title": "获取预约",
    "name": "获取预约",
    "group": "appointment",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>token值</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n   token : e2813800c58807182c35dd1ca19d49f01606275134700\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    {\n \"name\": \"s\",\n \"session_time\": null,\n \"qrcode\": null\n     }\n}",
          "type": "type"
        }
      ]
    },
    "filename": "src/router/appointmentRouter.js",
    "groupTitle": "appointment"
  }
] });
